package com.ruoyi.match.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户对象 t_user
 * 
 * @author å®è¿å
 * @date 2021-03-07
 */
public class TUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一uid */
    private String uid;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 密码 */
    @Excel(name = "密码")
    private String passWord;

    /** 性别(1:男2:女) */
    @Excel(name = "性别(1:男2:女)")
    private Integer gender;

    /** 个人头像 */
    @Excel(name = "个人头像")
    private String avatar;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 出生年月日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 手机 */
    @Excel(name = "手机")
    private String mobile;

    /** 邮箱验证码 */
    @Excel(name = "邮箱验证码")
    private String validCode;

    /** 自我简介最多150字 */
    @Excel(name = "自我简介最多150字")
    private String summary;

    /** 登录次数 */
    @Excel(name = "登录次数")
    private Integer loginCount;

    /** 最后登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;

    /** 最后登录IP */
    @Excel(name = "最后登录IP")
    private String lastLoginIp;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 资料来源 */
    @Excel(name = "资料来源")
    private String source;

    /** 平台uuid */
    @Excel(name = "平台uuid")
    private String uuid;

    /** QQ号 */
    @Excel(name = "QQ号")
    private String qqNumber;

    /** 微信号 */
    @Excel(name = "微信号")
    private String weChat;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 评论状态 1:正常 0:禁言 */
    @Excel(name = "评论状态 1:正常 0:禁言")
    private Integer commentStatus;

    /** ip来源 */
    @Excel(name = "ip来源")
    private String ipSource;

    /** 浏览器 */
    @Excel(name = "浏览器")
    private String browser;

    /** 操作系统 */
    @Excel(name = "操作系统")
    private String os;

    /** 是否开启邮件通知 1:开启 0:关闭 */
    @Excel(name = "是否开启邮件通知 1:开启 0:关闭")
    private Integer startEmailNotification;

    /** 用户标签：0：普通用户，1：管理员，2：博主 等 */
    @Excel(name = "用户标签：0：普通用户，1：管理员，2：博主 等")
    private Integer userTag;

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPassWord(String passWord) 
    {
        this.passWord = passWord;
    }

    public String getPassWord() 
    {
        return passWord;
    }
    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public Integer getGender()
    {
        return gender;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setValidCode(String validCode) 
    {
        this.validCode = validCode;
    }

    public String getValidCode() 
    {
        return validCode;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setLoginCount(Integer loginCount)
    {
        this.loginCount = loginCount;
    }

    public Integer getLoginCount()
    {
        return loginCount;
    }
    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }
    public void setLastLoginIp(String lastLoginIp) 
    {
        this.lastLoginIp = lastLoginIp;
    }

    public String getLastLoginIp() 
    {
        return lastLoginIp;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setQqNumber(String qqNumber) 
    {
        this.qqNumber = qqNumber;
    }

    public String getQqNumber() 
    {
        return qqNumber;
    }
    public void setWeChat(String weChat) 
    {
        this.weChat = weChat;
    }

    public String getWeChat() 
    {
        return weChat;
    }
    public void setOccupation(String occupation) 
    {
        this.occupation = occupation;
    }

    public String getOccupation() 
    {
        return occupation;
    }
    public void setCommentStatus(Integer commentStatus) 
    {
        this.commentStatus = commentStatus;
    }

    public Integer getCommentStatus() 
    {
        return commentStatus;
    }
    public void setIpSource(String ipSource) 
    {
        this.ipSource = ipSource;
    }

    public String getIpSource() 
    {
        return ipSource;
    }
    public void setBrowser(String browser) 
    {
        this.browser = browser;
    }

    public String getBrowser() 
    {
        return browser;
    }
    public void setOs(String os) 
    {
        this.os = os;
    }

    public String getOs() 
    {
        return os;
    }
    public void setStartEmailNotification(Integer startEmailNotification) 
    {
        this.startEmailNotification = startEmailNotification;
    }

    public Integer getStartEmailNotification() 
    {
        return startEmailNotification;
    }
    public void setUserTag(Integer userTag) 
    {
        this.userTag = userTag;
    }

    public Integer getUserTag() 
    {
        return userTag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("uid", getUid())
            .append("userName", getUserName())
            .append("passWord", getPassWord())
            .append("gender", getGender())
            .append("avatar", getAvatar())
            .append("email", getEmail())
            .append("birthday", getBirthday())
            .append("mobile", getMobile())
            .append("validCode", getValidCode())
            .append("summary", getSummary())
            .append("loginCount", getLoginCount())
            .append("lastLoginTime", getLastLoginTime())
            .append("lastLoginIp", getLastLoginIp())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("nickName", getNickName())
            .append("source", getSource())
            .append("uuid", getUuid())
            .append("qqNumber", getQqNumber())
            .append("weChat", getWeChat())
            .append("occupation", getOccupation())
            .append("commentStatus", getCommentStatus())
            .append("ipSource", getIpSource())
            .append("browser", getBrowser())
            .append("os", getOs())
            .append("startEmailNotification", getStartEmailNotification())
            .append("userTag", getUserTag())
            .toString();
    }
}
